home *** CD-ROM | disk | FTP | other *** search
/ Tripas 6 / TRIPAS 006.iso / Tterror.EXE / TTERROR / START.BAT < prev    next >
Encoding:
DOS Batch File  |  1994-08-18  |  1.2 KB  |  49 lines

  1. @echo off
  2. if exist memfail del memfail
  3. if exist pend del pend >nul
  4. memc
  5. if exist memfail goto memfailexit
  6. :uexist
  7. :gamefin
  8. copy 3.adl pfirst > nul
  9. :menuloop
  10. if not exist pfirst. goto normalmenu
  11. menu nr 1
  12. if exist p.cmd copy p.cmd oldp.cmd >nul
  13. goto okgo
  14. :normalmenu
  15. menu ns nr 
  16. if exist p.cmd copy p.cmd oldp.cmd >nul
  17. :okgo
  18. if not exist pfirst. goto skipdel
  19. del pfirst. > nul
  20. :skipdel
  21. if not exist p.cmd goto exit
  22. if exist pend del pend >nul
  23. pnocomp %1 %2 %3 %4 %5
  24. if errorlevel 1 goto errorexit
  25. if exist pend goto gamefin
  26. goto menuloop
  27. :errorexit
  28. if exist vid.com vid
  29. if not exist vid.com mode co80 >nul
  30. if exist memfail goto memfailexit
  31. echo ...
  32. echo Program Errors have occured.  Please contact Pie in the Sky Software.
  33. echo Save the file p.out which has the error information for us.
  34. type p.out
  35. goto realexit
  36. :memfailexit
  37. @echo ____
  38. echo   Error:  Do to insufficient or improperly configured memory you cannot
  39. echo   run the game.  Please read the manual and refer to the memory report
  40. echo   below to get more info about fixing this problem.
  41. @echo ----
  42. copy memfail con
  43. goto realexit
  44. :exit  
  45. if exist vid.com vid
  46. if not exist vid.com mode co80 >nul
  47. :realexit
  48.  
  49.